{% extends "adminlayout.html" %}
{% block adminlayout %}
    <div class="container-fluid" style="height: 2100px;">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"> 修改驾校信息 </h3>
            </div>
            <div class="panel-body" style="height: 850px">
                <form method="post" novalidate enctype="multipart/form-data">
                    {% csrf_token %}
                    {% for field in form %}
                        <div class="form-group">
                            <label>{{ field.label }}</label>
                            {{ field }}
                            <span style="color: red;">{{ field.errors.0 }}</span>
                        </div>
                    {% endfor %}
                    <button type="submit" class="btn btn-primary" onclick="javascript:return edit();">提 交</button>
                </form>
            </div>
        </div>
    </div>
{% endblock %}